﻿using System;
using System.Security;

namespace FXSStation.Modules.SharedInfrastructureModule.BusinessClasses.Users
{
    /// <summary>
    /// This class will not be used in this version of the application.
    /// User identity will be performed only with the Account class.
    /// </summary>
    public class User
    {
        private string _userName;
        private string _password;
        private string _displayName;
        private DateTime _dateRegistered;

        private decimal _balance;

        private object _tag;


        public string UserName
        {
            get { return _userName; }
            private set { _userName = value; }
        }

        public string Password
        {
            get { return _password; }
            private set { _password = value; }
        }

        public string DisplayName
        {
            get { return _displayName; }
            set { _displayName = value; }
        }

        public DateTime DateRegistered
        {
            get { return _dateRegistered; }
            private set { _dateRegistered = value; }
        }

        public decimal Balance
        {
            get { return _balance; }
            private set { _balance = value; }
        }

        public object Tag
        {
            get { return _tag; }
            set { _tag = value; }
        }

        public User(string name, string password, DateTime registered)
        {
            this._userName = name;
            this._password = password;
            this._dateRegistered = registered;
        }

        public User(string name, string password, string displayName, DateTime registered)
        {
            this._userName = name;
            this._password = password;
            this._displayName = displayName;
            this._dateRegistered = registered;
        }
    }
}
